package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

import com.frogs.system.util.ShippingAddressStatusEnum;

public class UserShippingAddress implements Serializable {
    private static final long serialVersionUID = -925028909072061934L;

    /**
     * This field corresponds to the database column user_shipping_address.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column user_shipping_address.user_id
     */
    private Integer userId = 0;

    /**
     * This field corresponds to the database column user_shipping_address.province
     */
    private String province;

    /**
     * This field corresponds to the database column user_shipping_address.city
     */
    private String city = "";

    /**
     * This field corresponds to the database column user_shipping_address.district
     */
    private String district = "";

    /**
     * This field corresponds to the database column user_shipping_address.street
     */
    private String street = "";

    /**
     * This field corresponds to the database column user_shipping_address.full_address
     */
    private String fullAddress = "";

    /**
     * This field corresponds to the database column user_shipping_address.contacts
     */
    private String contacts = "";

    /**
     * This field corresponds to the database column user_shipping_address.contact_number
     */
    private String contactNumber = "";

    /**
     * This field corresponds to the database column user_shipping_address.postcode
     */
    private String postcode = "";

    /**
     * This field corresponds to the database column user_shipping_address.is_default
     * 是否为默认地址
     */
    private Integer isDefault = ShippingAddressStatusEnum.STATUS_NOT_DEFAULT.getId();
    
    private String name = ""; 
    
    private String areaId = "";
    /**
     * This field corresponds to the database column user_shipping_address.is_privacy_receipt
     * 是否隐私收件
     */
    private Integer isPrivacyReceipt = ShippingAddressStatusEnum.STATUS_NOT_PRIVACY_RECEIPT.getId();
    
    /**
     * This field corresponds to the database column user_shipping_address.is_temporary_address
     */
    private Integer isTemporaryAddress = ShippingAddressStatusEnum.STATUS_NOT_TEMP_ADDR.getId();
    
    /**
     * This field corresponds to the database column user_shipping_address.rank
     */
    private Integer rank = 0;

    /**
     * This field corresponds to the database column user_shipping_address.status
     */
    private Integer status = ShippingAddressStatusEnum.STATUS_NOT_DELETE.getId();//使用状态

    public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	private String telNumber = "";
    
    private String source = "";
    
    private Date updateTime = new Date();
    
    private String accountName;
    
    private String phone;
    
    private Integer isPhoneValid = 0;
    
    private Integer isEmailValid = 0;
    
    public Integer getIsPhoneValid() {
		return isPhoneValid;
	}

	public void setIsPhoneValid(Integer isPhoneValid) {
		this.isPhoneValid = isPhoneValid;
	}

	public Integer getIsEmailValid() {
		return isEmailValid;
	}

	public void setIsEmailValid(Integer isEmailValid) {
		this.isEmailValid = isEmailValid;
	}

	private String email;
    
    public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	/**
     * This method returns the value of the database column user_shipping_address.id
     *
     * @return the value of user_shipping_address.id
     */
    public Integer getId() {
        return id;
    }

    public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	/**
     * This method sets the value of the database column user_shipping_address.id
     *
     * @param id the value for user_shipping_address.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column user_shipping_address.user_id
     *
     * @return the value of user_shipping_address.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column user_shipping_address.user_id
     *
     * @param userId the value for user_shipping_address.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method returns the value of the database column user_shipping_address.province
     *
     * @return the value of user_shipping_address.province
     */
    public String getProvince() {
        return province;
    }

    /**
     * This method sets the value of the database column user_shipping_address.province
     *
     * @param province the value for user_shipping_address.province
     */
    public void setProvince(String province) {
        this.province = province;
    }

    /**
     * This method returns the value of the database column user_shipping_address.city
     *
     * @return the value of user_shipping_address.city
     */
    public String getCity() {
        return city;
    }

    /**
     * This method sets the value of the database column user_shipping_address.city
     *
     * @param city the value for user_shipping_address.city
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * This method returns the value of the database column user_shipping_address.district
     *
     * @return the value of user_shipping_address.district
     */
    public String getDistrict() {
        return district;
    }

    /**
     * This method sets the value of the database column user_shipping_address.district
     *
     * @param district the value for user_shipping_address.district
     */
    public void setDistrict(String district) {
        this.district = district;
    }

    /**
     * This method returns the value of the database column user_shipping_address.street
     *
     * @return the value of user_shipping_address.street
     */
    public String getStreet() {
        return street;
    }

    /**
     * This method sets the value of the database column user_shipping_address.street
     *
     * @param street the value for user_shipping_address.street
     */
    public void setStreet(String street) {
        this.street = street;
    }

    /**
     * This method returns the value of the database column user_shipping_address.full_address
     *
     * @return the value of user_shipping_address.full_address
     */
    public String getFullAddress() {
        return fullAddress;
    }

    /**
     * This method sets the value of the database column user_shipping_address.full_address
     *
     * @param fullAddress the value for user_shipping_address.full_address
     */
    public void setFullAddress(String fullAddress) {
        this.fullAddress = fullAddress;
    }

    /**
     * This method returns the value of the database column user_shipping_address.contacts
     *
     * @return the value of user_shipping_address.contacts
     */
    public String getContacts() {
        return contacts;
    }

    /**
     * This method sets the value of the database column user_shipping_address.contacts
     *
     * @param contacts the value for user_shipping_address.contacts
     */
    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    /**
     * This method returns the value of the database column user_shipping_address.contact_number
     *
     * @return the value of user_shipping_address.contact_number
     */
    public String getContactNumber() {
        return contactNumber;
    }

    /**
     * This method sets the value of the database column user_shipping_address.contact_number
     *
     * @param contactNumber the value for user_shipping_address.contact_number
     */
    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    /**
     * This method returns the value of the database column user_shipping_address.postcode
     *
     * @return the value of user_shipping_address.postcode
     */
    public String getPostcode() {
        return postcode;
    }

    /**
     * This method sets the value of the database column user_shipping_address.postcode
     *
     * @param postcode the value for user_shipping_address.postcode
     */
    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    /**
     * This method returns the value of the database column user_shipping_address.is_default
     *
     * @return the value of user_shipping_address.is_default
     */
    public Integer getIsDefault() {
        return isDefault;
    }

    /**
     * This method sets the value of the database column user_shipping_address.is_default
     *
     * @param isDefault the value for user_shipping_address.is_default
     */
    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    /**
     * This method returns the value of the database column user_shipping_address.is_privacy_receipt
     *
     * @return the value of user_shipping_address.is_privacy_receipt
     */
    public Integer getIsPrivacyReceipt() {
        return isPrivacyReceipt;
    }

    /**
     * This method sets the value of the database column user_shipping_address.is_privacy_receipt
     *
     * @param isPrivacyReceipt the value for user_shipping_address.is_privacy_receipt
     */
    public void setIsPrivacyReceipt(Integer isPrivacyReceipt) {
        this.isPrivacyReceipt = isPrivacyReceipt;
    }

    /**
     * This method returns the value of the database column user_shipping_address.is_temporary_address
     *
     * @return the value of user_shipping_address.is_temporary_address
     */
    public Integer getIsTemporaryAddress() {
        return isTemporaryAddress;
    }

    /**
     * This method sets the value of the database column user_shipping_address.is_temporary_address
     *
     * @param isTemporaryAddress the value for user_shipping_address.is_temporary_address
     */
    public void setIsTemporaryAddress(Integer isTemporaryAddress) {
        this.isTemporaryAddress = isTemporaryAddress;
    }

    /**
     * This method returns the value of the database column user_shipping_address.rank
     *
     * @return the value of user_shipping_address.rank
     */
    public Integer getRank() {
        return rank;
    }

    /**
     * This method sets the value of the database column user_shipping_address.rank
     *
     * @param rank the value for user_shipping_address.rank
     */
    public void setRank(Integer rank) {
        this.rank = rank;
    }

    /**
     * This method returns the value of the database column user_shipping_address.status
     *
     * @return the value of user_shipping_address.status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method sets the value of the database column user_shipping_address.status
     *
     * @param status the value for user_shipping_address.status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

	public String getTelNumber() {
		return telNumber;
	}

	public void setTelNumber(String telNumber) {
		this.telNumber = telNumber;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}
    
    
}